﻿ <%@ page language="java" pageEncoding="UTF-8"%>
<%@include   file="../header.jsp" %>


<link rel="stylesheet" type="text/css" href="${csspath}/style/simplePagination.css">
<script type="text/javascript" src="${jspath}/js/jquery.simplePagination.js"></script>
<script type="text/javascript" src="${jspath}/js/pageview.js"></script>

<div class="home_divtop01"> </div>
 
<div class=""><a href="http://www.drmaml.com/D2012/merchant/index.html"> <img src="${imgpath}/images/home_images/home_banner01.jpg"> </a> </div>

<div class="home_hy_div" >
	<p class="retext08">您的位置：首页>家园>博文</p>
	<br/>
	<div class="gkk_top">
		<div class="gkk_toptitle"> 
		
			<div id="tab-1" class="gkk_toptitle02" onClick="window.location='<%=request.getContextPath() %>/home/bw?operType=1'"> 全部 </div>
			
			<div id="tab-2" class="gkk_toptitle02" onClick="window.location='<%=request.getContextPath() %>/home/bw?operType=2'"> 推荐 </div>
			
			<div id='tab-3' class="gkk_toptitle01" onClick="window.location='<%=request.getContextPath() %>/home/bw?operType=3'"> 精华 </div>
			
		</div>
	</div>
	
	<div class="ms_divbodytb">
		
		
		<!--全部-->
		<div id="tab1" class="ms_tab1" >
			<table width="1000px" align="center" bgcolor="#FFF">
				<div class="ms_tab1_text01">&nbsp;</div>
				<tr style="background-color:#B3DDDF;text-align:center;height:30px;border-bottom:1px solid #DDD;">
					<td width="10px"> </td>
					<td width="600px" style="font-size:14px;">标&nbsp;&nbsp;&nbsp;&nbsp;题 </td>
					<td width="90px" style="font-size:14px;">作&nbsp;&nbsp;&nbsp;&nbsp;者 </td>
					<td width="90px" style="font-size:14px;">浏&nbsp;&nbsp;&nbsp;&nbsp;览 </td>
					<td width="90px" style="font-size:14px;">评&nbsp;&nbsp;&nbsp;&nbsp;价 </td>
					<td width="90px" style="font-size:14px;">发表日期 </td>
				</tr>
				
				<c:if test="${pageData!=null}">					
					<c:forEach var="bw" items="${pageData.data}" varStatus="status">						
				
				<tr style="text-align:center;height:30px;border-bottom:1px solid #DDD;">
					<td width="10px"> </td>
					<td width="600px" style="font-size:14px;text-align:left;"> <a href="#">${bw.title }</a> </td>
					<td width="90px" style="font-size:14px;">${bw.authorName} </td>
					<td width="90px" style="font-size:14px;">${bw.viewCount } </td>
					<td width="90px" style="font-size:14px;">${bw.commentCount} </td>
					<td width="90px" style="font-size:14px;">${bw.blogTime }</td>
				</tr>
				
				</c:forEach>
				</c:if>
				
			</table>
		<!--页面切换-->
			<div>		
				<table align="left">	
					<tr>
						<td>
		
							<script>
								onPageClickFunction =  function(pageNumber, event){			 
										 		var pdata = {};
										 		pdata.type = '';		 	
										    	if(pageNumber){
										    		pdata.pageNo = pageNumber;
										    	}								   		    									    			    	
										    	window.location.href = '<%=request.getContextPath()%>/home/bw?operType=2&ps='+${pageData.pageSize}+'&pn=' + pageNumber;
										      };
							</script>
							<!--页面切换-->	
							<%@ include file="../paging.jsp"%>
							<!--end页面切换--> 
						</td>
					</tr>			
				</table>	
				</div>
		</div>
		<!--全部-->
	
	</div>
</div>

<!--footer-->
 <%@include   file="../footer.jsp" %>
<!--endfooter--> 
 

</body>
</html>